JBoss Community Archive (Read Only)

Mobicents

Build the appliances

Build the Mobicents Sip Servlets and Mobicents Load Balancer

1. Start a fresh instance of the BoxGrinder meta appliance on Amazon EC2. The latest AMI id can be found here: http://boxgrinder.org/download/boxgrinder-build-meta-appliance/. The AMI ami-888d7fe1 has been used for this tutorial.

2. Log-in to the instance of the BoxGrinder meta appliance you've just created. The user is ec2-user and has a full sudo access (no password required). Install some dependencies needed later:

sudo yum update -y && sudo yum install -y svn

3. Check-out the cirrasM project from SVN:

svn checkout https://mobicents.googlecode.com/svn/trunk/cloud/sip-servlets/cirrasM cirrasM
cd cirrasM /

4. Edit BoxGrinder's cong le according to your credentials and move it to /root/.boxgrinder/config.

vi config
sudo mkdir/root/.boxgrinder
sudo mv config/root/.boxgrinder/

5. Build the appliances by launching the script. By default, this script build EBS backed images.

./build-cirrasM.sh

This step may take a long time (i.e. more than one hour). You can see the log in the log folder.

Build the management appliance

1. Start a new instance of SteamCannon 0.2.0. The community AMI is ami-6ea25307. The user is root and has a full sudo access (no password required).

2. Patch the SteamCannon software by issuing the following commands:

yum update -y && yum install -y git
cd /opt/
sudo rm -r steamcannon
sudo -u jboss-as6 git clone git://github.com/tleruitte/steamcannon.git
cd steamcannon
sudo -u jboss-as6 git checkout 0_2_0_fixes
cd

3. Reinitialize SteamCannon

cd /opt/steamcannon/
/etc/init.d/jboss-as stop
/opt/jruby/bin/jruby -S rake db:drop:all
./bin/appliance_initialization.sh
/etc/init.d/jboss-as start;
cd
JBoss.org Content Archive (Read Only), exported from JBoss Community Documentation Editor at 2020-03-11 11:41:55 UTC, last content change 2011-06-01 17:26:26 UTC.